package com.rice.spring_boot.spring_boot_test.test.event;


public abstract class Notifier {
    private EventHandler eventHandler=new EventHandler();

    public EventHandler getEventHandler() {
        return eventHandler;
    }
    public void setEventHandler(EventHandler eventHandler) {
        this.eventHandler = eventHandler;
    }
    /**
     * @author anqun.xu
     * @Description://增加需要帮忙放哨的学生
     * @params
     * @return
     * @date
     */
    public abstract void addListener(Object object,String methodName,Object...args);

    /**
     * @author anqun.xu
     * @Description:/告诉所有要帮忙放哨的学生：老师来了
     * @params
     * @return
     * @date
     */
    public abstract void notifyX();
}
